package ch3;

public class GetMax {

	public static void main(String[] args) {
		// 获得两个数中比较大的
		int a = 44, b = 23, max;
		if (a > b) {
			max = a;
		} else {
			max = b;
		}

		max = a > b ? a : b;
		System.out.println(max);
	}

}
